package com.huangzhao.gulimall.member.feignClient;

import com.huangzhao.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(value = "gulimall-coupon", path = "/coupon")
public interface CouponFeignClientService {

    @RequestMapping(value = "/coupon/list")
    R getCouponList(@RequestBody Map<String, Object> map);
}
